<?php
if ($_REQUEST['clientname']!="" && $_REQUEST['clientemail']!="" && $_REQUEST['contactcontent']!="") {
	include_once '../dao/connection.php';
	
	mysql_query("insert into contact(client_name,client_email,contact_content,createdate) 
	values('".$_REQUEST['clientname']."','".$_REQUEST['clientemail']."','".$_REQUEST['contactcontent']."',NOW())");
	
	include_once '../dao/closeconnection.php';
}

?>